move div up and down infinite

69

.object {
  animation: MoveUpDown 1s linear infinite;
  left: 0;
  bottom: 0;
}

@keyframes MoveUpDown {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-50px);
  }
}

Comments

Submit
0 Comments